Deep learning segmentation of audio using magnitude spectrogram

ABSTRACT

A method, system, and computer readable medium for decomposing an audio signal into different isolated sources. The techniques and mechanisms convert an audio signal into K input spectrogram fragments. The fragments are sent into a deep neural network to isolate for different sources. The isolated fragments are then combined to form full isolated source audio signals.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.17/061,799, filed Oct. 2, 2020, titled “DEEP LEARNING SEGMENTATION OFAUDIO USING MAGNITUDE SPECTROGRAM,” by Luke Miner, which claims thebenefit of prior U.S. Provisional Application No. 62/882,317, filed Aug.2, 2019, titled “DEEP LEARNING SEGMENTATION OF AUDIO USING MAGNITUDESPECTROGRAM” by Luke Miner, all of which are herein incorporated byreference in their entirety for all purposes.

TECHNICAL FIELD

Aspects of the present disclosure relate generally to computer networks,and more particularly, to artificial intelligence.

BACKGROUND

Music has become an integral part of daily life. People generally enjoymusic while performing routine activities like driving or working. Oftentimes, it may be desirable to learn how to play a particular instrumentfeatured in a song, or to sing along with the vocals. However, findingsheet music for a particular song can prove difficult. in addition, manypeople learn better through listening to isolated tracks and playingalong, rather than through reading sheet music. However, findingisolated tracks for a particular song can also be cumbersome becauseisolated instrument/vocal tracks may not be publicly available forcertain songs.

Audio segmentation is the decomposition of an audio signal into itscomponent sound sources. In the context of music, this might besplitting the vocals, drums, guitar, and bass out of a song. Innon-musical contexts, it could he separating out various people talkingin a room from each other and from the background noise, which is alsoknown as the cocktail party problem. Common techniques for audiosegmentation include a variety of deficiencies. For example, commontechniques can lead to inefficient segmentation, require humanintervention, be imperfect due to noise, or be computationally expensiveto implement. Thus, there is a need for an effective way toautomatically decompose an audio signal into component parts.

SUMMARY

The following presents a simplified summary of the disclosure in orderto provide a basic understanding of certain embodiments of the presentdisclosure. This summary is not an extensive overview of the disclosureand it does not identify key/critical elements of the present disclosureor delineate the scope of the present disclosure. Its sole purpose is topresent some concepts disclosed herein in a simplified form as a preludeto the more detailed description that is presented later.

Aspects of the present disclosure relate to methods, systems, andcomputer readable media for decomposing an audio signal into componentparts. The method includes first loading an audio file into a waveform.The waveform is then transformed into a complex spectrogram. The complexspectrogram is then decomposed into a magnitude spectrogram and a phasespectrogram. The magnitude spectrogram is then split into K smallfragments. Each of the K fragments is sent through one or more deepneural networks to produce N sequences of K masks, where N correspondsto the number of sources that need to be segmented. For each source, themask fragments are concatenated together in order to form a completemask, which is the same length as the original magnitude spectrogram.Also for each source, the complete mask is multiplied with the originalmagnitude spectrogram to create a new magnitude spectrogramcorresponding to the source. Last for each source, the new magnitudespectrogram is combined with the original phase spectrogram to produce anew complex spectrogram corresponding to the source. Next, the newcomplex spectrograms are transformed into final waveforms. Last, eachwaveform is encoded and stored to a separate file.

In some embodiments, instead of combining the new magnitude spectrogramwith the original phase spectrogram, a multi-channel wiener filter isapplied to the new magnitude spectrograms, using the original complexspectrogram as an input, in order to produce the new complexspectrograms. In some embodiments, transforming the complex spectrograminto the waveform is done via a short-time fourier transform andtransforming new complex spectrograms into final waveforms is done viacomputing an inverse short time fourier transform. In some embodiments,a separate deep neural network is used for each individual source. Insome embodiments, at least one of the one or more deep neural networksincludes an input scale layer before a series of down sample layers andan output scale layer following a series of up sample layers. In someembodiments, at least one of the one or more deep neural networksincludes a bridge layer comprising first convolution 2D layer and asecond convolution 2D layer and an attention layer. In some embodiments,instead of combining the new magnitude spectrogram with the originalphase spectrogram, a new phase is constructed from the new source usinga generative adversarial neural network. In some embodiments, instead ofcombining the new magnitude spectrogram with the original phasespectrogram, a new phase is constructed from the new source using theGriffin-Lim algorithm. In some embodiments, instead of concatenating themask fragments together and multiplying the complete mask with theoriginal magnitude spectrogram, each mask fragment is multiplied withits corresponding magnitude spectrogram fragment thereby producing afragment of the new magnitude spectrogram. In some embodiments, thefragments of the new magnitude spectrogram are then appended to producethe complete magnitude spectrogram.

Additional advantages and novel features of these aspects will be setforth in part in the description that follows, and in part will becomemore apparent to those skilled in the art upon examination of thefollowing or upon learning by practice of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosure may best be understood by reference to the followingdescription taken in conjunction with the accompanying drawings, whichillustrate particular embodiments of the present disclosure. In thedescription that follows, like parts are marked throughout thespecification and drawings with the same numerals, respectively. Thedrawing figures are not necessarily drawn to scale and certain figuresmay be shown in exaggerated or generalized form in the interest ofclarity and conciseness.

FIG. 1 is a representative view of an example audio file decomposed intocomponent parts, in accordance with embodiments of the presentdisclosure.

FIGS. 2A-2B illustrate a flow chart depicting a method for decomposingan audio signal into component parts, in accordance with embodiments ofthe present disclosure.

FIG. 3 is a representative view of states of transformation of anexample method for decomposing an audio signal into component parts, inaccordance with embodiments of the present disclosure.

FIG. 4 is a representative view of an example neural networkarchitecture, in accordance with embodiments of the present disclosure.

FIG. 5 is a representative view of an example downsample block, inaccordance with embodiments of the present disclosure.

FIG. 6 is a representative view of an example upsample block, inaccordance with embodiments of the present disclosure.

FIG. 7 illustrates one example of a system, in accordance withembodiments of the present disclosure.

DETAILED DESCRIPTION

Reference will now be made in detail to some specific examples of thepresent disclosure including the best modes contemplated by theinventors for carrying out the present disclosure. Examples of thesespecific embodiments are illustrated in the accompanying drawings. Whilethe present disclosure is described in conjunction with these specificembodiments, it will be understood that it is not intended to limit thepresent disclosure to the described embodiments. On the contrary, it isintended to cover alternatives, modifications, and equivalents as may beincluded within the spirit and scope of the present disclosure asdefined by the appended claims.

For example, the techniques of the present disclosure will be describedin the context of particular interlocking parts. However, it should benoted that the techniques of the present disclosure apply to variousother parts. In the following description, numerous specific details areset forth in order to provide a thorough understanding of the presentdisclosure. Particular example embodiments of the present disclosure maybe implemented without some or all of these specific details. In otherinstances, well known process operations have not been described indetail in order not to unnecessarily obscure the present disclosure.

Various techniques and mechanisms of the present disclosure willsometimes be described in singular form for clarity. However, it shouldbe noted that some embodiments include multiple iterations of atechnique or multiple instantiations of a mechanism unless notedotherwise. For example, a system uses a processor in a variety ofcontexts. However, it will be appreciated that a system can use multipleprocessors while remaining within the scope of the present disclosureunless otherwise noted. Furthermore, the techniques and mechanisms ofthe present disclosure will sometimes describe a connection between twoentities. It should be noted that a connection between two entities doesnot necessarily mean a direct, unimpeded connection, as a variety ofother entities may reside between the two entities. For example, aprocessor may be connected to memory, but it will be appreciated that avariety of wires, circuits, bridges and other features or elements mayreside between the processor and memory. Consequently, a connection doesnot necessarily mean a direct, unimpeded connection unless otherwisenoted. As used herein, the term “convolution” and “convolutional” willbe used interchangeably.

FIG. 1 is a representative view 100 of an example audio file decomposedinto component parts, in accordance with embodiments of the presentdisclosure. View 100 shows an audio signal or file 102, comprised of aplurality of component parts. In some embodiments, audio signal or file102 is any audio source or signal, such as a song. FIG. 1 illustratesaudio signal 102 being broken into a plurality of sources 104, 106, 108,and 110. In the case of FIG. 1 , song 102 is broken down into fourcomponent parts, vocals 104, bass 106, drums 108, and guitar 110.However, in some other examples, the number of component parts can bemore or less than four. While FIG. 1 shows audio file 102 being a song,in other examples, audio file 102 can be any other sound file, such as arecording of a group of people's voices. In such an example, componentparts 104-110 would then be each individual voices that make us thegroup.

In some embodiments, audio file 102 is a composite of all componentparts 104-110. In some embodiments, audio file 102 can be created byseparately recording each component part, or source, 104-110 and thencombining them together. In such embodiments, separate isolated audiotracks for each component part, or source, are readily available, sincethey were recorded separately. However, in other embodiments, audio file102 is recorded/created as one audio file and separate tracks for eachcomponent part is not available or cannot easily be isolated. Thus,techniques and mechanisms of the present disclosure provide a solutionfor isolating individual source/component parts of such audio files.

FIGS. 2A-2B illustrate a flow chart depicting a method 200 fordecomposing an audio signal into component parts, in accordance withembodiments of the present disclosure. FIG. 3 is a representative viewof states of transformation 300 of example method 200 for decomposing anaudio signal into component parts, in accordance with embodiments of thepresent disclosure. For the purposes of this disclosure, FIG. 2 will bedescribed in conjunction with FIG. 3 .

At 202, an audio file 302 is loaded into a waveform 304. In someembodiments, audio file 302 is a multi-channel audio file, such as asong or an MP3. In some embodiments, instead of a multi-channel source,audio file 302 is a monophonic source that is loaded into a waveform304. In some embodiments, waveform 304 is represented as afloating-point time series. In other words, in such embodiments, foreach instant of time, the wave has a value expressed as a decimal point.At 203, waveform 304 is transformed into a complex spectrogram 305. Insome embodiments, waveform 304 is transformed via a short-time fouriertransform. At 204, complex spectrogram 305 is then decomposed into amagnitude spectrogram 306 and a phase spectrogram 308. At 206, magnitudespectrogram 306 is split into K small fragments 310. At 208, eachfragment 310 of magnitude spectrogram 306 is sent through one or moredeep neural networks. At 210, the deep neural network produces Nsequences of K masks 312 corresponding to the N sources that need to besegmented. In some embodiments, the masks are used to extract individualparts/components from a mixed audio signal. Each mask or sequence ofmasks corresponds to a different source. In some embodiments, the masksare binary masks, with pixels being either 0 or 1. In some embodiments,a mask is combined with a magnitude spectrogram of the same dimension,which represents a full mix. In some embodiments, the light portions ofthe mask (represented by 1s) correspond to the portions of the mix thatwill be extracted. In such embodiments, the black portions of the mask(represented by 0s) correspond to the portions of the extractedspectrogram that will be blank. In some embodiments, a separate deepneural network is used for each individual source. In some embodiments,a single neural network is used for producing every N sequence of Kmasks 312. In some embodiments, the N sequences of K masks 312 areproduced using any number of trained neural networks.

At 212, a determination is made as to whether all sources have beenprocessed. If yes, then method 200 proceeds to step 220, described indetail below. If not, then a loop function is performed for each sourceN, depicted as steps 214 through 218. At 214, mask fragments 312 areconcatenated together in order to form a complete mask 314 which is thesame length as original magnitude spectrogram 306. At 216, complete mask314 is multiplied with original magnitude spectrogram 306, creating anew magnitude spectrogram 316 corresponding to the source associatedwith the current loop. At 218, new magnitude spectrogram 316 is combinedwith original phase spectrogram 308 to produce a new complex spectrogram318 corresponding to the isolated source associated with the currentloop.

In some embodiments, rather than steps 216 and 218, each mask fragmentis multiplied with its corresponding magnitude spectrogram fragmentproducing a fragment of the new magnitude spectrogram. These fragmentsare then appended to produce the complete new magnitude spectrogram 316.In some embodiments, at the end of step 218, the loop function loopsback to step 212, where a determination is made as to whether allsources have been processed. If yes, then method 200 proceeds to step220. If not, then another source is chosen and the method proceedsthrough the loop function once again.

Once a determination has been made that all sources have been processed,method 200 proceeds to step 220. At 220, new complex spectrograms 316are transformed into final waveforms 320. In some embodiments, producingfinal waveforms 320 is done via computing an inverse short time fouriertransform. In some embodiments, rather than combining with the originalphase, a new phase is constructed from the new source using a generativeadversarial neural network. In some embodiments, rather than combiningwith the original phase, a new phase is constructed from the new sourceusing the Griffin-Lim algorithm.

In some embodiments, instead of combining new magnitude spectrogramswith original phase spectrogram 308, a multi-channel wiener filter isapplied to new magnitude spectrogram 316, using original complexspectrogram 305 as input, in order to produce new complex spectrogram318. In some embodiments, applying the wiener filter ultimately resultsin final waveforms with less interference and artifacts. At 222, eachwaveform is encoded and saved to a separate file. In some embodiments,the final waveforms are simply returned and/or played but not saved.

In some embodiments, a user may only be interested in a single componentor source of original audio file 302. In such embodiments, method 200would be slightly modified to isolate for a single source. For example,in step 210, instead of producing N sequences of K masks, method 200only produces one sequence of K masks. In addition, in such embodiments,modified method 200 would not include a loop function 212, but insteadwould just proceed directly through steps 216-218 from 210 because thereis no need to consider other sources.

As mentioned in steps 208 and 210, one or more neural networks is usedto produce the mask fragments. FIG. 4 is a representative view of anexample neural network architecture 400, in accordance with embodimentsof the present disclosure. Neural network 400 takes in input spectrogram402, and outputs mask 440, using a downward path and an upwards path. Insome embodiments, each layer in neural network 400 creates a set offeature map or output tensor(s). In some embodiments, downsample layerscreate feature maps of smaller dimensions, but increases the number offeature maps. In some embodiments, upsample layers create feature mapsof larger dimensions, but decreases the number of feature maps.

In some embodiments, input spectrogram 402 is a fragment of an originalentire magnitude spectrogram. In some embodiments, input spectrogram 402is an entire magnitude spectrogram, meaning, an input spectrogramcorresponding to an entire song. In some embodiments, input spectrogram402 comprises three dimensions. In some embodiments, the first dimensionis time, the second dimension is frequency, and the third dimension is achannels dimension.

In some embodiments, input spectrogram 402 is first passed through aninput layer 404. In some embodiments, input layer 404 is a batchnormalization layer that speeds convergence during training alsoincreases performance during inference. In some embodiments, input layer404 is trained to center the values of the input spectrogram around zerowith a standard deviation of 1. In some embodiments, for each frequencybin of the input, there is a mean value and a standard deviation, bothderived over random samples of training datasets. In some embodiments,input layer 404 will subtract the value in each frequency bin by themean value and divide it by the standard deviation so that the value iscentered around zero. In some embodiments, as neural network 400 istrained, the mean and the standard deviation changes/adjusts over timeto be more optimized values.

In some embodiments, after input scale layer 404 is a downsample layer406. In some embodiments, downsample layer 406 cuts the values of thefirst two dimensions, e.g., time and frequency, in half in order to“zoom out” of the input data for recognition of features. In someembodiments, downsample layer 406 also increases the third dimension inorder to increase the capacity of neural network 400 to account forshrinking the first two dimensions. The purpose of downsample layer 406is to provide a coarser view of the input data such that dependenciesthat are farther apart can be seen more easily captured. In someembodiments, neural network 400 includes five more downsample layers408, 410, 412, 414, and 416 after initial downsample layer 406, witheach successive downsample layer providing a coarser and coarser view ofthe input data. In some embodiments, the series of downsample layers istrained to develop features for understanding differences in data withgreater distances. In some embodiments, the number of downsample layersthat provides the most optimal outcome for neural network 400 is six.Through repeated experimentation, it was discovered that for audiosignal decomposition, architectures with less than six downsample layersprovided insufficiently accurate outcomes, at least in terms of certainmetrics, e.g., signal to distortion ratio (SDR), source image to spatialdistortion ratio (ISR), signal to interference ratio (SIR), and signalto artifacts ratio (SAR). In some embodiments, SDR can be thought of asan overall quality metric, while SIR and ISR can be thought of as thequality of the separation of the audio signal into sources metric, andSAR can be thought of as a measure of the artifacts introduced in theprocess. In addition, it was also empirically discovered that more thansix downsample layers provided marginally better quality, but requiredmuch more computational and resource cost (for example, seven downsamplelayers increases required memory size by four times as compared to sixdownsample layers), thus rendering the increase in quality to be notworth the cost.

In some embodiments, after the downsample layers, neural network 400includes a bridge layer 418. In some embodiments, bridge layer 418includes a first convolutional 2D layer 420, a second convolutional 2Dlayer 422, and an attention layer 424. In some embodiments, eachconvolutional 2D layer provides a non-linear consolidation ofinformation in the input tensor. The stacking of the convolutional 2Dlayers allows for a hierarchical decomposition of the input. However,each time the input data goes through a convolutional 2D layer, theoutput is distorted. Thus, to account for the distortion, the input tofirst convolutional 2D layer 420 is then added to the output of secondconvolutional 2D layer 422 in order to ensure that at least some of theinformation in the original input to bridge layer 418 gets passedthrough to attention layer 424. In some embodiments, attention layer 424informs neural network 400 which pixels are most important and need tobe focused on. In some embodiments, bridge layer 418 works to squeeze asmuch information as possible out of the zoomed out view of the inputdata.

In some embodiments, the output of attention layer 424 is then inputtedinto upsample layer 426. In some embodiments, upsample layers areopposite of downsample layers. In other words, upsample layers provide a“zoom in” view of input data by increasing the first two dimensions andshrinking the third dimension. As with the series of downsample layers,neural network 400 also has 5 more upsample layers 428, 430, 432, 434,and 436 after initial upsample layer 426 that correspond to thedifferent downsample layers previously described. In some embodiments,each upsample layer has a corresponding downsample layer with equivalentdimensions.

In some embodiments, the output of each upsample layer is concatenatedto the output of each corresponding downsample layer. For example, theoutput of downsample layer 426 is concatenated with the output todownsample layer 416, which has the same dimensions. As with bridgelayer 418, an output to an upstream layer is concatenated with theoutput of a more downstream layer, via a skip connection, in order torecapture any information that might have been lost during progressionthrough the layers. In such embodiments, after concatenation, the firsttwo dimensions of the concatenated output remain the same, but the thirddimension is doubled.

In some embodiments, after the sixth upsample layer 436, the output ispassed through an output scale 438. In some embodiments, output scale438 is just the reverse of input scale 404. In such embodiments, a meanvalue is added to frequency bin values and multiplied by a standarddeviation, where the mean and standard deviations are also learned overtime via training neural network 400. In other words, input scale 404“normalizes” the values of the frequency bins and output scale 438“un-normalizes” them.

In some embodiments, the output of output scale 438 is then inputtedinto mask layer 440. In some embodiments, mask layer 440 is arectilinear layer. In some embodiments, the output to mask layer 440 isthen multiplied by input spectrogram 402, thereby producing a “mask” ora “mask fragment.” For example, if input spectrogram 402 was a fragmentof an actual song, or the spectrogram version of an actual song, thenthe mask or mask fragment would correspond with only an isolatedcomponent/source of the actual song fragment, such as vocals.

In some embodiments, neural network architecture 400 takes in onlyfragments of audio input spectrograms and outputs mask fragmentscorresponding to a single source, which are later concatenated. In someembodiments, neural network 400 takes in an entire audio inputspectrogram corresponding to a song and outputs an entire maskcorresponding to an entire isolated components/source version of thesong. In some embodiments, neural network 400 takes fragments as inputs,but outputs an entire mask. In such embodiments, although the inputspectrogram are only fragments, the output is an entire mask because theinput into the mask layer(s) are stitched together fragments that arefirst concatenated before being passed through the mask layers. In someembodiments, the convolutional layers can be 1D or 3D, instead of 2D. Insome embodiments, one or more linear layers can be added in order toincrease complexity. In some embodiments, bridge layer 418 can comprisesjust sequential convolutional layers without adding the original bridgelayer input and without attention layer 424.

In some embodiments, as with many neural networks, neural network 400operates in two modes: a training mode and an inference mode. Thetraining mode is for training the neural network to work sufficiently inthe inference mode. In training mode, training data sets are sentthrough the neural network and the results are compared to known/correctresults. In the case of songs, a training data set could be a song whosevocal tracks are readily available, such as readily available stems. Insome embodiments, only the stems are available, and the “original song”is created by combining all the readily available stems. In someembodiments, the song is sent through the neural network using themethods disclosed herein, such as method 200, and the resulting mask isapplied to the original song. The result of the mask application is thencompared to the actual vocal tracks, such as the readily availablestems. The neural network is configured to recognize differences betweenits training output and the correct/known results, and its parameterswill be adjusted accordingly. Then another training data set/song ispassed through the neural network and the process repeats itself formany cycles, called epochs, until there is little to no differencebetween neural network output and the correct/known results.

In some embodiments, an additional extra step during training can beimplemented in order to speed up training and improve accuracy. In suchembodiments, a random starting point in the audio file or song israndomly selected. Then, the audio file or song is truncated such thatany portion after the starting point is kept and any point before thestarting point is discarded. Then the training method proceeds byprogressing through the steps laid out in method 200. In suchembodiments, the purpose of randomly picking a start point in the audiofile and truncating is to introduce more randomness into the trainingdata set. That way, the neural network is more likely to end up withdifferent chunks every iteration of the training cycle, or epoch. Thisis because the system can randomly truncate at the beginning of eachtraining epoch. Otherwise, the neural network can end up with the samechunks even if they are in different order. In such embodiments, such apre-training step is an optimization step to improve the accuracy of theneural network.

FIG. 5 is a representative view of an example downsample block 500, inaccordance with embodiments of the present disclosure. Downsample block500 includes three convolution layers 502, 504, and 506. In someembodiments, the convolution layers are convolution 2D layers. In someembodiments, an input tensor is inputted into first convolution layer502. The output of convolution layer 502 is then fed into secondconvolution layer 504. The output of convolution layer 504 is then fedinto third convolution layer 506. Next, the output of convolution layer506 is then added with either the input to first convolution layer 502or the output of first convolution layer 502. Through experimentation,it was discovered that adding the output of first convolution layer 502to the output of third convolution layer 506 resulted in moreimprovements in SDR metrics than adding the input to first convolutionlayer 502.

In some embodiments, after the output of third convolutional layer 506is added to the output of first convolutional layer 502, the combinedoutput is then fed into an attention layer 508. In some embodiments, theoutput of attention layer 508 is then fed to a strided convolutionallayer 510. In some embodiments, strided convolutional layer 510 is astride 2 convolutional layer. This allows for the shrinking of the sizeof certain dimensions in the input tensor to yield an output tensor withsmaller dimensions. In some embodiments, one or more of theconvolutional layers use padding to make the size of the outputconsistent.

FIG. 6 is a representative view of an example upsample block 600, inaccordance with embodiments of the present disclosure. Upsample block600 includes a subpixel convolutional layer 602. In some embodiments,subpixel convolution layer 602 can be a transpose convolutional layer.However, subpixel convolutions work better than normal transposeconvolutions. This is because instead of zeros used for padding in anormal transpose convolution, the padding in a subpixel convolution isderived using a pixel shuffle/reshape operation, which produces lessartifacts and is more computationally efficient. In some embodiments,the output of transpose convolution layer 602 is then fed into a firstconvolutional layer 604. Then, the output of first convolution layer 604is then fed into a second convolution layer 606. In some embodiments, atleast one of the convolution layers is a convolutional 2D layer. In someembodiments, the output of second convolution layer 606 is then added tothe output of transpose convolution layer 602 before feeding intoattention layer 608. In some embodiments, the input to subpixel layer602 can be added to the output of second convolution layer 606. However,through experimentation, using the output of subpixel convolution layer602 resulted in more improvement in SDR metrics (better quality).

The systems and techniques presented provide many technical advantagesand improvements to current technology. For example, the introduction ofthe customized bridge layer provides reductions to interference ascompared to similar technology. As another example, inserting attentionlayers in the precise locations as presented above has empirically shownto reduce artifacts. Last, the placement of the input scale and outputscale layers has been empirically shown to speed up and improve modelconvergence for audio segmentation.

The systems and techniques presented in this disclosure provide manyreal world applications and benefits. For example, the systems andtechniques of the present disclosure allow for remixing of live or oldrecordings for which stems are not available. In addition, the systemsand techniques of the present disclosure also allow for the creation ofkaraoke versions of songs without the need for the original stems.Further, the systems and techniques of the present disclosure also allowfor the creation of movie soundtrack versions of songs without the needfor the original stems. In addition, the systems and techniques of thepresent disclosure also allow for the isolation of particularinstruments in order to facilitate further work such as transcription.The systems and techniques of the present disclosure also allow for theautomatic identification of the instruments and vocals of a song withoutthe need for explicit labeling. The systems and techniques of thepresent disclosure can also be helpful for remixing old or liverecordings, allowing adjusting and readjusting of levels of certaininstruments.

The benefits of the present disclosure are not simply limited to justmusic. The systems and techniques of the present disclosure also allowfor the isolation of distinct voices from a noisy background. It is alsouseful for picking out faint voices in recordings that are difficult tomake out over other audio sources.

FIG. 7 illustrates one example of a system 700, in accordance with oneor more embodiments. According to particular embodiments, a system 700,suitable for implementing particular embodiments of the presentdisclosure, includes a processor 701, a memory 703, an interface 711,and a bus 715 (e.g., a PCI bus or other interconnection fabric) andoperates as a streaming server. In some embodiments, when acting underthe control of appropriate software or firmware, the processor 701 isresponsible for processing inputs through various computational layersand algorithms, such as down sample layers and up sample layers. Inother embodiments, the processor is responsible for updating theparameters of each computational layer within the deep learning model.Various specially configured devices can also be used in place of aprocessor 701 or in addition to processor 701. The interface 711 istypically configured to send and receive data packets or data segmentsover a network. In addition, in some embodiments, system 700 can alsoinclude a specialized processor TPU 709, in order to facilitate machinelearning, and/or a specialized processor GPU 713 for implementing acloud multi-GPU machine.

Particular examples of interfaces supports include Ethernet interfaces,frame relay interfaces, cable interfaces, DSL interfaces, token ringinterfaces, and the like. In addition, various very high-speedinterfaces may be provided such as fast Ethernet interfaces, GigabitEthernet interfaces, ATM interfaces, HSSI interfaces, POS interfaces,FDDI interfaces and the like. Generally, these interfaces may includeports appropriate for communication with the appropriate media. In somecases, they may also include an independent processor and, in someinstances, volatile RAM. The independent processors may control suchcommunications intensive tasks as packet switching, media control andmanagement.

According to particular example embodiments, the system 700 uses memory703 to store data and program instructions for operations includingtraining a neural network, such as method 200. The program instructionsmay control the operation of an operating system and/or one or moreapplications, for example. The memory or memories may also be configuredto store received metadata and batch requested metadata.

Because such information and program instructions may be employed toimplement the systems/methods described herein, the present disclosurerelates to tangible, or non-transitory, machine readable media thatinclude program instructions, state information, etc. for performingvarious operations described herein. Examples of machine-readable mediainclude hard disks, floppy disks, magnetic tape, optical media such asCD-ROM disks and DVDs; magneto-optical media such as optical disks, andhardware devices that are specially configured to store and performprogram instructions, such as read-only memory devices (ROM) andprogrammable read-only memory devices (PROMs). Examples of programinstructions include both machine code, such as produced by a compiler,and files containing higher level code that may be executed by thecomputer using an interpreter.

The foregoing description of various aspects and examples have beenpresented for purposes of illustration and description. It is notintended to be exhaustive nor to limit the disclosure to the formsdescribed. The aspects(s) illustrated in the figures can, in someinstances, be understood to be shown to scale for illustrative purposes.Numerous modifications are possible in light of the above teachings,including a combination of the abovementioned aspects. Some of thosemodifications have been discussed and others will be understood by thoseskilled in the art. The various aspects were chosen and described inorder to best illustrate the principles of the present disclosure andvarious aspects as are suited to the particular use contemplated. Thescope of the present disclosure is, of course, not limited to theexamples or aspects set forth herein, but can be employed in any numberof applications and equivalent devices by those of ordinary skill in theart. Rather, it is hereby intended the scope be defined by the claimsappended hereto.

What is claimed is:
 1. A method for decomposing an audio signal, themethod comprising: transforming an original audio file into a complexspectrogram; splitting the complex spectrogram into K small fragmentsalong the time dimension; sending each fragment in the K small fragmentsthrough one or more convolutional deep neural networks, theconvolutional deep neural networks including one or more convolutionallayers, the one or more convolutional layers including a subpixelupsample convolutional layer; producing a sequence of K mask fragments;concatenating the K mask fragments together in order to form a completemask which is the same length as the complex spectrogram; multiplyingthe complete mask with the complex spectrogram to create a new complexspectrogram; and transforming the new complex spectrogram into a newaudio file.
 2. The method of claim 1, wherein transforming the originalaudio file into the complex spectrogram involves a short-time fouriertransform.
 3. The method of claim 1, wherein transforming the newcomplex spectrogram into the new audio file involves an inverse shorttime fourier transform.
 4. The method of claim 1, wherein at least oneof the one or more deep neural networks includes a series of downsamplelayers and a series of upsample layers.
 5. The method of claim 1,wherein at least one of the one or more deep neural networks includes aninput scale layer and an output scale layer.
 6. The method of claim 1,wherein at least one of the one or more deep neural networks includes abridge layer comprising a first convolution 2D layer and a secondconvolution 2D layer and an attention layer.
 7. The method of claim 1,wherein instead of concatenating the K mask fragments together andmultiplying the complete mask with the complex spectrogram, each K maskfragment is multiplied with a corresponding complex spectrogram fragmentthereby producing a fragment of the new complex spectrogram.
 8. A systemfor decomposing an audio signal, the system comprising: a processor; andmemory storing instructions to cause the processor to execute a method,the method comprising: transforming an original audio file into acomplex spectrogram; splitting the complex spectrogram into K smallfragments along the time dimension; sending each fragment in the K smallfragments through one or more convolutional deep neural networks, theconvolutional deep neural networks including one or more convolutionallayers, the one or more convolutional layers including a subpixelupsample convolutional layer; producing a sequence of K mask fragments;concatenating the K mask fragments together in order to form a completemask which is the same length as the complex spectrogram; multiplyingthe complete mask with the complex spectrogram to create a new complexspectrogram; and transforming the new complex spectrogram into a newaudio file.
 9. The system of claim 8, wherein transforming the originalaudio file into the complex spectrogram involves a short-time fouriertransform.
 10. The system of claim 8, wherein transforming the newcomplex spectrogram into the new audio file involves an inverse shorttime fourier transform.
 11. The system of claim 8, wherein at least oneof the one or more deep neural networks includes a series of downsamplelayers and a series of upsample layers.
 12. The system of claim 8,wherein at least one of the one or more deep neural networks includes aninput scale layer and an output scale layer.
 13. The system of claim 8,wherein at least one of the one or more deep neural networks includes abridge layer comprising a first convolution 2D layer and a secondconvolution 2D layer and an attention layer.
 14. The system of claim 8,wherein instead of concatenating the K mask fragments together andmultiplying the complete mask with the complex spectrogram, each K maskfragment is multiplied with a corresponding complex spectrogram fragmentthereby producing a fragment of the new complex spectrogram.
 15. Anon-transitory computer readable medium storing instructions to cause aprocessor to execute a method, the method comprising: transforming anoriginal audio file into a complex spectrogram; splitting the complexspectrogram into K small fragments along the time dimension; sendingeach fragment in the K small fragments through one or more convolutionaldeep neural networks, the convolutional deep neural networks includingone or more convolutional layers, the one or more convolutional layersincluding a subpixel upsample convolutional layer; producing a sequenceof K mask fragments; concatenating the K mask fragments together inorder to form a complete mask which is the same length as the complexspectrogram; multiplying the complete mask with the complex spectrogramto create a new complex spectrogram; and transforming the new complexspectrogram into a new audio file.
 16. The non-transitory computerreadable medium of claim 15, wherein transforming the original audiofile into the complex spectrogram involves a short-time fouriertransform.
 17. The non-transitory computer readable medium of claim 15,wherein transforming the new complex spectrogram into the new audio fileinvolves an inverse short time fourier transform.
 18. The non-transitorycomputer readable medium of claim 15, wherein at least one of the one ormore deep neural networks includes a series of downsample layers and aseries of upsample layers.
 19. The non-transitory computer readablemedium of claim 15, wherein at least one of the one or more deep neuralnetworks includes an input scale layer and an output scale layer. 20.The non-transitory computer readable medium of claim 15, wherein atleast one of the one or more deep neural networks includes a bridgelayer comprising a first convolution 2D layer and a second convolution2D layer and an attention layer.